package com.yangzheandroid.rxmvp.widget;

import android.annotation.SuppressLint;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.Button;

import com.yangzheandroid.retrofitutils.utils.LogUtil;

/**
 * Created by Jalen on 17/4/16.
 */

@SuppressLint("AppCompatCustomView")
public class MyButton extends Button {

    public MyButton(Context context) {
        super(context);
    }

    public MyButton(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public MyButton(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }


    @Override
    public boolean onTouchEvent(MotionEvent event) {
        LogUtil.e("kkk", "===============onTouchEvent===============");
        return super.onTouchEvent(event);
    }
}
